Skip to content

Conversation

@gagik
Copy link
Collaborator

@gagik gagik commented Oct 24, 2025

Since the token-based auth seems to be either buggy or unsupported at the moment (see modelcontextprotocol/registry#698), this adds a separate workflow for us to iterate on with regards to OIDC auth.

I tried this locally and I don't have the permissions for it but either a) in actions context the permissions can apply to our CI or b) someone else in our team might have all the necessary permissions for publishing as a temporary solution.

Copilot AI review requested due to automatic review settings October 24, 2025 08:56
@gagik gagik requested a review from a team as a code owner October 24, 2025 08:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses authentication issues with the MCP registry publishing by introducing an OIDC-based workflow as an alternative to the currently non-functional token-based authentication. The change splits registry publishing into a separate workflow to enable iteration on OIDC authentication while maintaining the existing release process.

Key changes:

  • Created a new dedicated workflow for MCP registry publishing using OIDC authentication
  • Removed MCP registry publishing steps from the main publish workflow
  • Replaced GitHub token-based authentication with OIDC authentication method

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/registry-publish.yml New workflow implementing OIDC-based authentication for MCP registry publishing
.github/workflows/publish.yml Removed MCP registry publishing steps and bot token setup that relied on token-based auth


- name: Install MCP Publisher
run: |
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tar command is missing the '-C' flag or output directory specification. The current command 'tar xz mcp-publisher' will attempt to extract all files from the archive but won't correctly extract to 'mcp-publisher'. It should be 'tar xz' without the filename argument, or use 'tar xzf -' to explicitly read from stdin.

Suggested change
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz

Copilot uses AI. Check for mistakes.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is true at all lol

@coveralls
Copy link
Collaborator

coveralls commented Oct 24, 2025

Pull Request Test Coverage Report for Build 18775801527

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 80.149%

Totals Coverage Status
Change from base Build 18774254522: 0.02%
Covered Lines: 6297
Relevant Lines: 7718

💛 - Coveralls

@gagik gagik force-pushed the gagik/marketplace branch from a62a498 to e6d9d81 Compare October 24, 2025 09:35
@gagik gagik enabled auto-merge (squash) October 24, 2025 09:35
@gagik gagik merged commit e311288 into main Oct 24, 2025
18 checks passed
@gagik gagik deleted the gagik/marketplace branch October 24, 2025 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants